package com.springboot.cloud.demos.feign.service;

import com.springboot.cloud.common.core.entity.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "ribbon-consumer", fallback = LevelTypeServiceFallback.class)
public interface LevelTypeService {

    @RequestMapping(value = "/levelType", method = RequestMethod.GET)
    Result levelType();

}
